﻿@using PlatformNetCore.Entity;
@{
    Company company = ViewBag.CompanyInfo;
}
@model JobsDetail

<div class="banner banner-staff" style="background-image:url(@(Model.Ad != null && !string.IsNullOrWhiteSpace(Model.Ad.AdImagePC) ? Model.Ad.AdImagePC:"/img/banner/job.jpg"))">
    <div class="txt">
        <div class="nav-container">
            <h1 class="text28 wow fadeInUp">@ViewBag.ParentTitle</h1>
            <ul class="nav wow fadeInUp">
                @foreach (Menu item in ViewBag.MenuTopSecond)
                {
                    <li><a href="@item.Link" class="@(item.MenuCode.Equals(ViewBag.MenuCode)?"active":"")">@item.Title</a></li>
                }
            </ul>
        </div>
    </div>
</div>
<div class="page-job-detail">
    <article class="container">
        <header>
            <h1 class="title-news wow fadeInUp">@Model.Jobs.Title</h1>
            <div class="note" data-wow-delay="0.5s">
                <time>@(Model.Jobs.PublishDate.HasValue? Model.Jobs.PublishDate.Value.ToString("yyyy.MM.dd"):"无")</time>
            </div>
        </header>
        <main class="content wow fadeInUp" data-wow-delay="1s">
            @Html.Raw(Model.Jobs.Content)
        </main>
        <div class="action"><a class="gomail" href="mailto:@(company.Email)">投递简历</a></div>
    </article>
</div>
